package com.health.dao.dataobject;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class UserDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * health_user.use_id
     */
    private Long useId;

    /**
     * health_user.username
     */
    private String username;

    /**
     * health_user.gmt_create
     */
    private Date gmtCreate;

    /**
     * health_user.gmt_modified
     */
    private Date gmtModified;

    /**
     * health_user.is_deleted
     */
    private Integer isDeleted;

	public Long getUseId() {
	                return useId;
	    
	}

	public void setUseId(Long useId) {
                    this.useId = useId;
	    
	}

	public String getUsername() {
	                return username;
	    
	}

	public void setUsername(String username) {
                    this.username = username;
	    
	}

	public Date getGmtCreate() {
	                 return gmtCreate == null ? null : new Date(gmtCreate.getTime());
        
	}

	public void setGmtCreate(Date gmtCreate) {
                     this.gmtCreate = gmtCreate == null ? null : new Date(gmtCreate.getTime());
        
	}

	public Date getGmtModified() {
	                 return gmtModified == null ? null : new Date(gmtModified.getTime());
        
	}

	public void setGmtModified(Date gmtModified) {
                     this.gmtModified = gmtModified == null ? null : new Date(gmtModified.getTime());
        
	}

	public Integer getIsDeleted() {
	                return isDeleted;
	    
	}

	public void setIsDeleted(Integer isDeleted) {
                    this.isDeleted = isDeleted;
	    
	}


	public static interface IField {
		
		public static final String f_use_id = "useId";
		
		public static final String f_username = "username";
		
		public static final String f_gmt_create = "gmtCreate";
		
		public static final String f_gmt_modified = "gmtModified";
		
		public static final String f_is_deleted = "isDeleted";
		
	}

    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}